package com.spic.system.mapper;

import com.spic.system.domain.SysAnnounceReceiver;

import java.util.List;

/**
 * 接收人信息Mapper接口
 *
 * @author spic
 * @date 2022-06-15
 */
public interface SysAnnounceReceiverMapper
{
    /**
     * 查询接收人信息
     *
     * @param id 接收人信息主键
     * @return 接收人信息
     */
    public SysAnnounceReceiver selectSysAnnounceReceiverById(Long id);

    /**
     * 查询接收人信息列表
     *
     * @param sysAnnounceReceiver 接收人信息
     * @return 接收人信息集合
     */
    public List<SysAnnounceReceiver> selectSysAnnounceReceiverList(SysAnnounceReceiver sysAnnounceReceiver);

    /**
     * 新增接收人信息
     *
     * @param sysAnnounceReceiver 接收人信息
     * @return 结果
     */
    public int insertSysAnnounceReceiver(SysAnnounceReceiver sysAnnounceReceiver);

    /**
     * 修改接收人信息
     *
     * @param sysAnnounceReceiver 接收人信息
     * @return 结果
     */
    public int updateSysAnnounceReceiver(SysAnnounceReceiver sysAnnounceReceiver);

    /**
     * 删除接收人信息
     *
     * @param id 接收人信息主键
     * @return 结果
     */
    public int deleteSysAnnounceReceiverById(Long id);

    /**
     * 批量删除接收人信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysAnnounceReceiverByIds(Long[] ids);
}
